package com.zrrd2._7_20.H1;
public class MyRunnable implements Runnable {

    @Override
    public void run() {
        for (int i = 0; i <=1100; i++) {

            try {
                Thread.sleep(1);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            System.out.println(Thread.currentThread().getName()+"-->"+i);
        }
}
}
